package enu;

import java.util.ArrayList;

public class TestAnnotation {
    @SuppressWarnings("all")

    private static int a = 10;
    @SuppressWarnings("all")

    public static void main(String[] args) {
        int i;

        ArrayList list = new ArrayList();
        list.add("hello");
        list.add(123);
        list.add("world");

        Father f = new Son();
        f.show();
        f.methodOl();
    }
}
@SuppressWarnings("all")
class Father{
    @Deprecated
    void show() {
        System.out.println("Father.show");
    }
    void methodOl() {
        System.out.println("Father Method");
    }
}

class Son extends Father{
//	@Override
//	void method01() {
//		System.out.println("Son Method");
//	}
}